<?php
/**
 * Created by PhpStorm.
 * User: Xavier
 * Date: 9/24/2014
 * Time: 4:27 PM
 */

class View{
    function __construct(){
        echo 'this is the view';
    }

    public function render($name){
        require 'views/' . $name . '.php';
    }
}